Desfire.ReadData

Reads data from a Standard or Backup data file.

Properties

Parameters (request frame)

Name Type/Size Description
FileId Integer (8 bits) ID of file to read.
Adr Integer (32 bits) Offset position within file. Ranges from 0x000000 to (file size -1).
Len Integer (16 bits) Length of data to read. If Len = 0, the entire data starting from the offset position will be read.
Mode Enumeration (8 bits) Communication settings linked to the file.
Values:
  • Plain (0)
  • MAC (1)
  • Encrypted (3)

Returned values (response frame)

Name Type/Size Description
Length of Data Integer (16 bits) Length of Data in bytes
Data Raw data Data read from card.